#define _CRT_SECURE_NO_WARNINGS 1

#include "map_set.h"

void func()
{
	my_map::map<int, string> mp;
	my_set::set<int> st;

	mp[1] = "a";
	mp[2] = "b";
	mp[3] = "c";
	mp[4] = "d";

	st[1];
	st[2];
	st[3];
	st[4];

	for (auto& e : st)
	{
		cout << e << " ";
	}

	for (auto& e : st)
	{
		e = 1;
		cout << e << " ";
	}

	cout << endl;
	for (auto& e : mp)
	{
		cout << e.first << " : " << e.second << endl;
	}

	/*auto it = mp.begin();
	while (it != mp.end())
	{
		cout << it->first << ": " << it->second;
		++it;
	}*/
}

int main()
{
	func();
	return 0;
}

